Skip to content

fix(web): folder view sort oder#24337

Merged
alextran1502 merged 1 commit intomainfrom
fix/folder-view-sorting
Dec 2, 2025
Merged

fix(web): folder view sort oder#24337
alextran1502 merged 1 commit intomainfrom
fix/folder-view-sorting

Conversation

@etnoy
Copy link
Copy Markdown
Collaborator

@etnoy etnoy commented Dec 2, 2025

There is an issue in the folder view where folders are sorted incorrectly when seeing varying path depts, see this screenshot:

image

This PR fixes it and gives the correct sort:

image

It appears that the core issue is that the underlying Map data type respect insertion order and not sort order. I've reworked some of the logic in collapse() to fix the issue

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants